﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 还款表 
    /// </summary>

    public class RepaymentDTO
    {

        /// <summary>
        /// 主键
        /// </summary>
        /// 

        public int RepaymentId { get; set; }

        /// <summary>
        /// 客户id
        /// </summary>
        public string? ClientId { get; set; }

        /// <summary>
        /// 客户id
        /// </summary>
        public int? ClientIdd { get; set; }

        /// <summary>
        /// 类型Id
        /// </summary>
        public int? ClientTypeId { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
#pragma warning disable CS8618 // 在退出构造函数时，不可为 null 的字段必须包含非 null 值。请考虑声明为可以为 null。
        public string ClientName { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时，不可为 null 的字段必须包含非 null 值。请考虑声明为可以为 null。

        /// <summary>
        /// 还款期次
        /// </summary>
        public string? Count { get; set; }

        /// <summary>
        /// 应还租金
        /// </summary>
        public decimal? Rent { get; set; }

        /// <summary>
        /// 当期剩余租金
        /// </summary>
        public decimal? Surplusrent { get; set; }

        /// <summary>
        /// 应付租金日
        /// </summary>
        public DateTime? RentalDay { get; set; }

        /// <summary>
        /// 剩余延滞息
        /// </summary>
        public int? DelayedInterest { get; set; }
        /// <summary>
        /// 业务经办
        /// </summary>
        public string? BusinessManagementName { get; set; }
        /// <summary>
        /// 是否逾期
        /// </summary>
        public string? IsoverdueName { get; set; }

        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 类型名称
        /// </summary>
        public string? TypeName { get; set; }
        /// <summary>
        /// 业务经办
        /// </summary>
        public int? BusinessManagementID { get; set; }
        /// <summary>
        /// 是否逾期
        /// </summary>
        public int? IsoverdueID { get; set; }
    }
}
